<header>
    <div class="title">
        <a href="">Roles</a><span> > </span><strong>Actualizar rol</strong>
    </div>
    <div class="shortcuts">
        <a href=""></a>
    </div>
    <div class="help">
        <a href="">Ayuda</a>
    </div>
</header>
<div class="sidebar">
    <div id="update-rol" class="content">
        <h2>Actualizar Rol: <?php if ($rol->get('roles','nombre')) echo html_entity_decode($rol->get('roles','nombre')); ?></h2>
        <?php if (!empty($validacion)) { ?>
        <div class="alert alert-error">
            <span class="icon block"></span>
            <strong>Se han encontrado errores:</strong>
            <ul>
                <?php foreach ($validacion as $item_fail) { ?>
                    <li><label for="rol-update-form-<?php echo $item_fail['item']; ?>"><?php echo $item_fail['message']; ?></label></li>
                <?php } ?>
            </ul>
        </div>
        <?php } ?>
        <form id="rol-update-form" action="#" method="post" enctype="multipart/form-data">
            <input name="form-action" type="hidden" value="update-rol" />
            
            <h3>Modificar permisos de módulos</h3>
            <ul class="menu">
                <li><a class="button" href="#Alumnos"><span class="icon user"></span> Alumnos</a></li>
                <li><a class="button" href="#Cursos"><span class="icon users"></span> Cursos</a></li>
                <li><a class="button" href="#Calendario"><span class="icon calendar"></span> Calendario</a></li>
                <li><a class="button" href="#Clases"><span class="icon video"></span> Clases</a></li>
                <li><a class="button" href="#Registro-de-pagos"><span class="icon credit-card"></span> Registro de pagos</a></li>
                <li><a class="button" href="#Planes-de-estudio"><span class="icon text-doc"></span> Planes de estudio</a></li>
                <li><a class="button" href="#Configuracion"><span class="icon cog"></span> Configuración</a></li>
                <li><a class="button" href="#Mensajeria"><span class="icon chat"></span> Mensajeria</a></li>
                <li><a class="button" href="#Emails"><span class="icon mail"></span> Emails</a></li>
                <li><a class="button" href="#Archivos"><span class="icon folder"></span> Archivos</a></li>
                <li><a class="button" href="#Tienda"><span class="icon tag"></span> Tienda</a></li>
                <li><a class="button" href="#Mediateca"><span class="icon docs"></span> Mediateca</a></li>
                <li><a class="button" href="#Usuarios"><span class="icon user"></span> Usuarios</a></li>
                <li><a class="button" href="#Historial"><span class="icon clipboard"></span> Historial</a></li>
                <li><a class="button" href="#Tareas"><span class="icon pencil"></span> Tareas</a></li>
            </ul>
            
            <div class="form-container" id="Alumnos">
                <strong class="title"><span class="icon user"></span> Alumnos</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" <?php if ($rol->get('checklist','students-default')) echo 'checked'; ?>/>
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" <?php if ($rol->get('checklist','students-create')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" <?php if ($rol->get('checklist','students-read')) echo 'checked'; ?> />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" <?php if ($rol->get('checklist','students-update')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" <?php if ($rol->get('checklist','students-delete')) echo 'checked'; ?> />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" <?php if ($rol->get('checklist','students-disponibles')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" <?php if ($rol->get('checklist','students-sin-confirmar')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" <?php if ($rol->get('checklist','students-potenciales')) echo 'checked'; ?> />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" <?php if ($rol->get('checklist','students-no-regulares')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" <?php if ($rol->get('checklist','students-todo')) echo 'checked'; ?> />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Cursos">
                <strong class="title"><span class="icon users"></span> Cursos</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="groups-default" <?php if ($rol->get('checklist','groups-default')) echo 'checked'; ?>/>
                            <span class="text">(accion por defecto: listado de cursos activos)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="groups-create" <?php if ($rol->get('checklist','groups-create')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="groups-read" <?php if ($rol->get('checklist','groups-read')) echo 'checked'; ?> />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Editar informacion:</span>
                                <input type="checkbox" name="groups-update" <?php if ($rol->get('checklist','groups-update')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Agregar/Quitar alumnos:</span>
                                <input type="checkbox" name="groups-update-students" <?php if ($rol->get('checklist','groups-update-students')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="groups-delete" <?php if ($rol->get('checklist','groups-delete')) echo 'checked'; ?>/>
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado inactivos:</span>
                                <input type="checkbox" name="groups-inactivos" <?php if ($rol->get('checklist','groups-inactivos')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="groups-todo" <?php if ($rol->get('checklist','groups-todo')) echo 'checked'; ?>/>
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Ver calendario:</span>
                                <input type="checkbox" name="groups-calendar" <?php if ($rol->get('checklist','groups-calendar')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Ver Tareas:</span>
                                <input type="checkbox" name="groups-read-workshop" <?php if ($rol->get('checklist','groups-read-workshop')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Agregar tarea:</span>
                                <input type="checkbox" name="groups-create-workshop" <?php if ($rol->get('checklist','groups-create-workshop')) echo 'checked'; ?>/>
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Enviar mensaje:</span>
                                <input type="checkbox" name="groups-send-message" <?php if ($rol->get('checklist','groups-send-message')) echo 'checked'; ?> />
                            </label>
                            <label>
                                <span class="name">Ver mensajes:</span>
                                <input type="checkbox" name="groups-read-message" <?php if ($rol->get('checklist','groups-read-message')) echo 'checked'; ?>/>
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Ver registro de pagos:</span>
                                <input type="checkbox" name="groups-accountancy" <?php if ($rol->get('checklist','groups-accountancy')) echo 'checked'; ?>/>
                            </label>
                            <label>
                                <span class="name">Ver plan de estudio:</span>
                                <input type="checkbox" name="groups-plan" <?php if ($rol->get('checklist','groups-plan')) echo 'checked'; ?>/>
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Calendario">
                <strong class="title"><span class="icon calendar"></span> Calendario</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Clases">
                <strong class="title"><span class="icon video"></span> Clases</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Registro-de-pagos">
                <strong class="title"><span class="icon credit-card"></span> Registro de pagos</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Planes-de-estudio">
                <strong class="title"><span class="icon text-doc"></span> Planes de estudio</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Configuracion">
                <strong class="title"><span class="icon cog"></span> Configuración</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Mensajeria">
                <strong class="title"><span class="icon chat"></span> Mensajería</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Emails">
                <strong class="title"><span class="icon mail"></span> Emails</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Archivos">
                <strong class="title"><span class="icon folder"></span> Archivos</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Tienda">
                <strong class="title"><span class="icon tag"></span> Tienda</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Mediateca">
                <strong class="title"><span class="icon docs"></span> Mediateca</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Usuarios">
                <strong class="title"><span class="icon users"></span> Usuarios</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Historial">
                <strong class="title"><span class="icon clipboard"></span> Historial</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                    <div class="form-buttons">
                        <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                    </div>
                </div>
            </div>
            
            
            <div class="form-container" id="Tareas">
                <strong class="title"><span class="icon pencil"></span> Tareas</strong>
                <div class="content">
                    <div class="form-fields">
                        <label>
                            <span class="name">Ingreso al modulo:</span>
                            <input type="checkbox" data-master name="students-default" />
                            <span class="text">(accion por defecto: listado de regulares)</span>
                        </label>
                        <div class="double">
                            <label>
                                <span class="name">Alta:</span>
                                <input type="checkbox" name="students-create" />
                            </label>
                            <label>
                                <span class="name">Ver perfil:</span>
                                <input type="checkbox" name="students-read" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Editar:</span>
                                <input type="checkbox" name="students-update" />
                            </label>
                            <label>
                                <span class="name">Eliminar:</span>
                                <input type="checkbox" name="students-delete" />
                            </label>
                        </div>
                        <div class="triple">
                            <label>
                                <span class="name">Listado disponibles:</span>
                                <input type="checkbox" name="students-disponibles" />
                            </label>
                            <label>
                                <span class="name">Listado sin confirmar:</span>
                                <input type="checkbox" name="students-sin-confirmar" />
                            </label>
                            <label>
                                <span class="name">Listado potenciales:</span>
                                <input type="checkbox" name="students-potenciales" />
                            </label>
                        </div>
                        <div class="double">
                            <label>
                                <span class="name">Listado no regulares:</span>
                                <input type="checkbox" name="students-no-regulares" />
                            </label>
                            <label>
                                <span class="name">Listado todos:</span>
                                <input type="checkbox" name="students-todo" />
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            
            <h3>Modificar información</h3>
            <div class="form-fields">
                <label>
                    <span class="name">Nombre:</span>
                    <input type="text" id="rol-update-form-nombre" name="nombre" value="<?php if ($rol->get('roles','nombre')) echo html_entity_decode($rol->get('roles','nombre')); ?>" placeholder="Ingrese el nombre aqui" />
                    <span class="help" data-text="Depending on project settings weekend may be included in due date calculation"></span>
                </label>
                <label>
                    <span class="name">Descripcion:</span>
                    <textarea name='descripcion'><?php if ($rol->get('roles','descripcion')) echo html_entity_decode($rol->get('roles','descripcion')); ?></textarea>
                    <span class="help" data-text="Depending on project settings weekend may be included in due date calculation"></span>
                </label>
            </div>
            
            <div class="form-buttons">
                <button type="submit" class="button important blue"><span class="icon check"></span> Guardar</button>
                <a class="button important red" href="<?php echo $host .'roles/'; ?>">Cancelar</a>
            </div>
        </form>
    </div>
</div>